/**
 * Project Name:mauto-web
 * File Name:BusinessException.java
 * Package Name:com.inftech.mauto.common.base
 * Date:2016年11月4日下午4:23:58
 * Copyright (c) 2016, inf-technology Co., Ltd. All Rights Reserved.
 *
*/

package com.inftech.mauto.common.base;

import com.inftech.mauto.common.constant.HttpStatusCodeEnum;

/**
 * ClassName:BusinessException <br/>
 * Function: 业务异常. <br/>
 * Date: 2016年11月4日 下午4:23:58 <br/>
 * 
 * @author puyf
 * @version
 * @since JDK 1.7
 */
public class BusinessException extends Exception {

	/**
	 * serialVersionUID
	 * 
	 * @since JDK 1.7
	 */
	private static final long serialVersionUID = 7634440896895462350L;
	private HttpStatusCodeEnum httpStatusCodeEnum;

	public BusinessException() {
		super();
	}

	public BusinessException(HttpStatusCodeEnum httpStatusCodeEnum) {
		this.setHttpStatusCodeEnum(httpStatusCodeEnum);
	}

	public HttpStatusCodeEnum getHttpStatusCodeEnum() {
		return httpStatusCodeEnum;
	}

	public void setHttpStatusCodeEnum(HttpStatusCodeEnum httpStatusCodeEnum) {
		this.httpStatusCodeEnum = httpStatusCodeEnum;
	}
}
